package com.codingapi.demo.server.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration;
import org.springframework.cloud.config.server.EnableConfigServer;
/**
 * @author modificial
 * @date 2018/7/27
 * @company codingApi
 * @description 配置中心启动类
 * */
@SpringBootApplication
@EnableConfigServer
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class,ValidationAutoConfiguration.class})
public class ServerConfigApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServerConfigApplication.class, args);
    }

}
